package cn.china.controller;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@CrossOrigin
@RequestMapping("/test")
public class MyController {

    /*这是一个注释*/
    @RequestMapping("/my")
    public String my(){
        return "my";
    }

}
